var readline=require('readline')
const rl=readline.createInterface({
    input:process.stdin,
    output:process.stdout
})

rl.on('line',function (line){
    var tokens=line.split(' ')
    let a=tokens[0];
    var a1;
    let b=tokens[2];
    var b1;
    let fuhao=tokens[1];
    var result ;
    if(isNaN(a)||isNaN(b)){
        console.log("数字错误");
    }else {
        a1 = parseInt(a);
        b1 = parseInt(b);
        switch (fuhao) {
            case "+":
                result =a1 + b1;
                console.log(result);
                break;
            case "-":
                result = a1 - b1;
                console.log(result);
                break;
            case "*":
                result = a1 * b1;
                console.log(result);
                break;
            case "/":
                if (b1 != 0) {
                    result = a1 / b1;
                    console.log(result);
                } else {
                    console.log("除数不能为0");
                }
                break;
            default:
                console.log("符号错误")
        }

    }
})